﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace UseVinMessageBox
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            VinMessageBox.VinMessageBox msg = new VinMessageBox.VinMessageBox();
            msg.Caption = "Testing VinMessageBox";
            msg.SecondsToShow = 10;
            msg.Message = "This messagebox will fade in and appear for " + msg.SecondsToShow + " and will automatically fade out";
            msg.Show(this);
                
        }
    }
}
